package edu.hwadee.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Staffpaper entity. @author MyEclipse Persistence Tools
 */

public class Staffpaper implements java.io.Serializable {

	// Fields

	private Integer staffPaperId;
	private Paper paper;
	private Staff staff;
	private String paperNumber;
	private Date paperDate;
	private Date supExcDate;
	private Date paperDueDate;
	private String paperePicture;
	private String paperPictureback;
	private Boolean isEffective;
	private Date checkDate;
	private Short checkState;
	private Set papermanagements = new HashSet(0);

	// Constructors

	/** default constructor */
	public Staffpaper() {
	}

	/** full constructor */
	public Staffpaper(Paper paper, Staff staff, String paperNumber, Date paperDate, Date supExcDate, Date paperDueDate,
			String paperePicture, String paperPictureback, Boolean isEffective, Date checkDate, Short checkState,
			Set papermanagements) {
		this.paper = paper;
		this.staff = staff;
		this.paperNumber = paperNumber;
		this.paperDate = paperDate;
		this.supExcDate = supExcDate;
		this.paperDueDate = paperDueDate;
		this.paperePicture = paperePicture;
		this.paperPictureback = paperPictureback;
		this.isEffective = isEffective;
		this.checkDate = checkDate;
		this.checkState = checkState;
		this.papermanagements = papermanagements;
	}

	// Property accessors

	public Integer getStaffPaperId() {
		return this.staffPaperId;
	}

	public void setStaffPaperId(Integer staffPaperId) {
		this.staffPaperId = staffPaperId;
	}

	public Paper getPaper() {
		return this.paper;
	}

	public void setPaper(Paper paper) {
		this.paper = paper;
	}

	public Staff getStaff() {
		return this.staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}

	public String getPaperNumber() {
		return this.paperNumber;
	}

	public void setPaperNumber(String paperNumber) {
		this.paperNumber = paperNumber;
	}

	public Date getPaperDate() {
		return this.paperDate;
	}

	public void setPaperDate(Date paperDate) {
		this.paperDate = paperDate;
	}

	public Date getSupExcDate() {
		return this.supExcDate;
	}

	public void setSupExcDate(Date supExcDate) {
		this.supExcDate = supExcDate;
	}

	public Date getPaperDueDate() {
		return this.paperDueDate;
	}

	public void setPaperDueDate(Date paperDueDate) {
		this.paperDueDate = paperDueDate;
	}

	public String getPaperePicture() {
		return this.paperePicture;
	}

	public void setPaperePicture(String paperePicture) {
		this.paperePicture = paperePicture;
	}

	public String getPaperPictureback() {
		return this.paperPictureback;
	}

	public void setPaperPictureback(String paperPictureback) {
		this.paperPictureback = paperPictureback;
	}

	public Boolean getIsEffective() {
		return this.isEffective;
	}

	public void setIsEffective(Boolean isEffective) {
		this.isEffective = isEffective;
	}

	public Date getCheckDate() {
		return this.checkDate;
	}

	public void setCheckDate(Date checkDate) {
		this.checkDate = checkDate;
	}

	public Short getCheckState() {
		return this.checkState;
	}

	public void setCheckState(Short checkState) {
		this.checkState = checkState;
	}

	public Set getPapermanagements() {
		return this.papermanagements;
	}

	public void setPapermanagements(Set papermanagements) {
		this.papermanagements = papermanagements;
	}

}